<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>广场选择</title>
		<script type="text/javascript" src="js/base/jquery.js"></script>
		<script type="text/javascript" src="js/squareChange.js"></script>
	</head>
	<body onload="divLoad()">
		<jsp:include page="head.jsp"></jsp:include>
		<div class="zhuti">
			<div class="jingediv"></div>
			<div class="lefterdiv">
				<jsp:include page="menu.jsp"></jsp:include>
			</div>
			<div class="jingediv"></div>
			<div class="righterdiv" id="right">
				<div class="sitebar">
						<div class="floatleft div25"></div>
						<div class="sitename font14 top26">
							${pageHead}
						</div>
						<div class="date font14 top26">
							<script type="text/javascript">
								var date=new Date();
								document.write(date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate());
								if(date.getHours()<12){
									document.write("上午");
								}else
								{
									document.write("下午");
								}
							</script>
						</div>
				</div>
				<div class="widthall">
					<div class="title">
						<div class="floatleft div25"></div>
						<div class="titlename bold font24 top26">
							广场选择
						</div>
					</div>
					<div class="whitediv">
						<div class="floatleft div25 defaultheight"></div>
						<div class="floatleft sxpp">
							<div class="widthall em30">
								<div class="floatleft sskw935 defaultheight"></div>
								<div class="floatleft sskw65">
									<div class="sxk font16" onclick="shaixuan()">
										<div class="floatleft noselect sskcontent">
											筛选
										</div>
										<img id="sxkimg" class="sxkimg floatleft"
											src="images/sx01.png" />
										<div class="floatleft sxkLiubai"></div>
										<div class="cleardiv"></div>
									</div>
								</div>
							</div>
							<div id="sxdiv" class="widthall font16">
							<div class="widthall em30">
								<div class="floatleft sxtiaojian">
									地区 |
								</div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft sxxiang1 saixuanqu1">
									<div class="floatleft">
										<a class="sxxiangaselect" href="javascript:diquClick('-1')">不限</a>
									</div>
									<div class="floatleft div25 defaultheight"></div>
									<c:forEach items="${squareChange.dqList}"
										var="gcModel">
										<div class="floatleft">
											<a id="${gcModel.dqSiteId}"
												href="javascript:diquClick('${gcModel.dqSiteId}')">${gcModel.dqSiteName}</a>
										</div>
										<div class="floatleft div25 defaultheight"></div>
									</c:forEach>
								</div>
								<div class="floatleft ssarealiubai"></div>
							</div>
							<div class="cleardiv"></div>
							<div class="widthall em30">
								<div class="floatleft sxtiaojian">
									区划 |
								</div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft sxxiang1 saixuanqu2">
									<div class="floatleft">
										<input type="hidden" id="guojia" value='${squareChange.guojia}'>
										<a class="sxxiangaselect" href="javascript:quhuaClick('-1')">不限</a>
									</div>
									<div class="floatleft div25 defaultheight"></div>
									<select id="guojiaCombo"
										onchange="comboChange(0);buxianxiaoshi()">
										<option value="-1">
											请选择
										</option>
									</select>
									<select id="shengCombo"
										onchange="comboChange(1);buxianxiaoshi()">
										<option value="-1">
											请选择
										</option>
									</select>
									<select id="shiCombo"
										onchange="comboChange(2);buxianxiaoshi()">
										<option value="-1">
											请选择
										</option>
									</select>
									<select id="quCombo"
										onchange="comboChange(3);buxianxiaoshi()">
										<option value="-1">
											请选择
										</option>
									</select>
								</div>
								<div class="floatleft ssarealiubai"></div>
							</div>
							<div class="cleardiv"></div>
							<div class="widthall em30">
								<div class="floatleft sxtiaojian">
									商圈 |
								</div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft div25 defaultheight"></div>
								<div class="floatleft sxxiang saixuanqu3">
									<div class="floatleft">
										<a class="sxxiangaselect"
											href="javascript:shangquanClick('-1')">不限</a>
									</div>
									<div class="floatleft div25 defaultheight"></div>
									<c:forEach items="${squareChange.sqList}"
										var="gcModel">
										<div class="floatleft">
											<a id="${gcModel.sqSiteId}"
												href="javascript:shangquanClick('${gcModel.sqSiteId}')">${gcModel.sqSiteName}</a>
										</div>
										<div class="floatleft div25 defaultheight"></div>
									</c:forEach>
								</div>
								<div class="floatleft ssarea">
									<div class="searchdiv floatleft">
										<div class="floatleft width5per defaultheight"></div>
										<input type="text" id="gc_gcSiteName" class="ssk"
											onkeyup="showx()" />
										<div class="ssbtn" id="imgx">
											<img class="imgx" src="images/x.png"
												onclick="clearssk()" />
										</div>
									</div>
									<div class="sskw3 floatleft heigthall"></div>
									<div class="floatleft ssbtnover searchbtn noselect"
										id="divsearch2" onclick="searchGc()">
										<div>
											搜索
										</div>
									</div>
									<div style="clear: both">
									</div>
								</div>
							</div>
							</div>
						</div>
					<div class="floatleft div25 defaultheight"></div>
					<div class="cleardiv"></div>
				</div>
				<div class="widthall szjiange"></div>
				<div id="guangchangDiv" class="whitediv font16 xzdiv">
					<div  class="widthall em30"></div>
					<div class="widthall xzcontentheight">
						<div class="floatleft defaultheight xzdivliubai"></div>
						<div id="gcResultDiv" class="floatleft scrollbar noselect xzdivvcontent">
							<c:forEach items="${squareChange.gcList}" var="siteInfo">
								<div class="floatleft szqy" onclick="newCheckboxClick('${siteInfo.siteid}','yixuanzeDiv')">
									<div class="floatleft checkbox" id="${siteInfo.siteid}" title="${siteInfo.sitename}">
										<div class="szjuzhong">${siteInfo.sitename}</div>
									</div>
								</div>
							</c:forEach>
						</div>
						<div class="floatleft defaultheight xzdivliubairight"></div>
					</div>
				</div>
				<div class="widthall szjiange"></div>
				<div class="whitediv font16 yxheight">
					<div class="floatleft div25 defaultheight"></div>
					<div class="floatleft yxcontent">
						<div class="widthall yxcontentliubai"></div>
						<div class="widthall noselect em50" style="">
							<div class="floatleft yixuan">
								已选 |&nbsp;
							</div>
							<div class="floatleft yixuancontent" id="yixuanzeDiv">
							</div>
							<div class="floatleft yixuanliubai">
							</div>
						</div>
						<div class="widthall em50">
							<div class="floatleft heigthall qdliubai"></div>
							<div class="floatleft heigthall qdcontent">
								<div class="floatleft qdbtnover qdbtn noselect" onclick="quxiao()">
									<div class="qdjuzhong">
										取消
									</div>
								</div>
								<div class="floatleft heigthall qdjiange"></div>
								<div class="floatleft qdbtnover qdbtn noselect" onclick="queding()">
									<div class="qdjuzhong">
										确定
									</div>
								</div>
							</div>
							<div class="floatleft heigthall qdliubairight"></div>
						</div>
						<div class="widthall yxcontentliubai"></div>
					</div>
					<div class="floatleft div25 defaultheight"></div>
					<div style="clear: both">
					</div>
				</div>
						<!-- 选广场 -->
						<form action="ajaxSearchGc">
							<!-- 商圈 -->
							<input type="hidden" id="gc_sqSiteId">
							<!-- 省市区 -->
							<input type="hidden" id="gc_countryId">
							<input type="hidden" id="gc_provinceId">
							<input type="hidden" id="gc_cityId">
							<input type="hidden" id="gc_areaId">
							<!-- 地区 -->
							<input type="hidden" id="gc_dqSiteId">
							<!-- 搜索栏中广场名称 -->
							<input type="hidden" id="gc_gcInput">
						</form>
						<!-- 点击确定返回 -->
						<form action="${backPage}" id="backForm" method="post">
							<input type="hidden" value="${siteSelectParam.pageFrom}"
								name="siteSelectParam.pageFrom">
							<input type="hidden" value="${siteSelectParam.controlTo}"
								name="siteSelectParam.controlTo">
							<input type="hidden" value="${siteSelectParam.selectType}"
								name="siteSelectParam.selectType">
							<input type="hidden" value="${siteSelectParam.saveParam}"
								name="siteSelectParam.saveParam" id="back_saveParam">
							<input type="hidden" value="${siteSelectParam.siteString}"
								name="siteSelectParam.siteString" id="back_siteString">
							<input type="hidden" value="${siteSelectParam.gcSiteId}"
								name="siteSelectParam.gcSiteId" id="back_gcSiteId" />
							<input type="hidden" value="${siteSelectParam.qySiteId}"
								name="siteSelectParam.qySiteId" id="back_qySiteId" />
							<input type="hidden" value="${siteSelectParam.lcSiteId}"
								name="siteSelectParam.lcSiteId" id="back_lcSiteId" />
							<input type="hidden" value="${siteSelectParam.dpSiteId}"
								name="siteSelectParam.dpSiteId" id="back_dpSiteId" />
							<input type="hidden" value="${siteSelectParam.note}"
								name="siteSelectParam.note" id="back_note" />
							<input type="hidden" value="${siteSelectParam.choiceType}"
								name="siteSelectParam.choiceType" id="back_choiceType" />
							<input type="hidden" value="${siteSelectParam.rangeType}"
								name="siteSelectParam.rangeType" id="back_rangeType" />
							<input type="hidden" value="${siteSelectParam.backTabId}"
								name="siteSelectParam.backTabId" id="back_tabId" />
							<input type="hidden" id="backGcSiteString"
								name="siteSelectParam.backGcSiteString" id="back_dpSiteId" />
						</form>
						<!-- 初始化保存部分参数 -->
						<!-- 已经选择的广场 -->
						<input type="hidden" id="selectedGcString"
							value="${changeGcParam.gcString}">
						<!-- 要选择的类型(单选/多选) -->
						<input type="hidden" id="selectType" value="${selectType}">
					
					
				</div>
			</div>
		</div>
		<div class="cleardiv"></div>
		<jsp:include page="footer.jsp"></jsp:include>
	</body>
</html>